﻿using Devonline.Core;

namespace Devonline.MessageClient
{
    public class ClientSetting
    {
        /// <summary>
        /// 通道客户端配置默认构造方法
        /// </summary>
        public ClientSetting()
        {
            MonitorInterval = AppSettings.UNIT_TEN;
        }

        /// <summary>
        /// 客户端上报心跳间隔, 单位: 秒
        /// </summary>
        public int MonitorInterval { get; set; }
        /// <summary>
        /// 连接的服务器端地址
        /// </summary>
        public string Server { get; set; }
        /// <summary>
        /// 当前客户端编号
        /// </summary>
        public string ClientId { get; set; }
    }
}
